package cn.moningxi.service;

import cn.moningxi.bean.CustomerInfomation;

import java.util.List;


public interface CustomerInfomationService {
    boolean register(CustomerInfomation cu);

    public CustomerInfomation queryByEmail(CustomerInfomation cu);

    List<CustomerInfomation> queryMembers();

    List<CustomerInfomation> queryDelMembers();

    void removeMember(Integer customerInfoId);

    void returnMember(Integer customerInfoId);

    CustomerInfomation queryUser(CustomerInfomation loginUser);

    CustomerInfomation queryUserById(int id);

    void editMembers(Integer customerInfoId, String customerStatus);

    boolean updateUser(CustomerInfomation loginUser);

    CustomerInfomation queryUserByEmail(CustomerInfomation loginUser);

    CustomerInfomation queryUserByPhone(CustomerInfomation loginUser);

    List<CustomerInfomation> selectCustomerLevel();

    void updateBalance(CustomerInfomation onlineUser);

    boolean updateUserPwd(String customerInfoId, String oldp, String newp);

    void updateUserheadUrl(String customerId, String headUrl);

}
